package com.yager.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private String userid;

    private String username;

    private String userpwd;

    private String usergender;

    private String userimage;

    private String userjob;

    private String usercode;

    private String userrealname;

    private String usertel;

    private Integer usergrade;

    private String usersignature;

    private Date userdate;

    private Boolean userstatus;

    private String useremail;

    private static final long serialVersionUID = 1L;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getUsergender() {
        return usergender;
    }

    public void setUsergender(String usergender) {
        this.usergender = usergender;
    }

    public String getUserimage() {
        return userimage;
    }

    public void setUserimage(String userimage) {
        this.userimage = userimage;
    }

    public String getUserjob() {
        return userjob;
    }

    public void setUserjob(String userjob) {
        this.userjob = userjob;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getUserrealname() {
        return userrealname;
    }

    public void setUserrealname(String userrealname) {
        this.userrealname = userrealname;
    }

    public String getUsertel() {
        return usertel;
    }

    public void setUsertel(String usertel) {
        this.usertel = usertel;
    }

    public Integer getUsergrade() {
        return usergrade;
    }

    public void setUsergrade(Integer usergrade) {
        this.usergrade = usergrade;
    }

    public String getUsersignature() {
        return usersignature;
    }

    public void setUsersignature(String usersignature) {
        this.usersignature = usersignature;
    }

    public Date getUserdate() {
        return userdate;
    }

    public void setUserdate(Date userdate) {
        this.userdate = userdate;
    }

    public Boolean getUserstatus() {
        return userstatus;
    }

    public void setUserstatus(Boolean userstatus) {
        this.userstatus = userstatus;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }

    public User( String userid,String username, String usertel,String useremail,String userpwd) {
        this.userid = userid;
        this.username=username;
        this.useremail=useremail;
        this.userpwd = userpwd;
        this.usertel = usertel;
    }

    public User(){}

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userid=").append(userid);
        sb.append(", username=").append(username);
        sb.append(", userpwd=").append(userpwd);
        sb.append(", usergender=").append(usergender);
        sb.append(", userimage=").append(userimage);
        sb.append(", userjob=").append(userjob);
        sb.append(", usercode=").append(usercode);
        sb.append(", userrealname=").append(userrealname);
        sb.append(", usertel=").append(usertel);
        sb.append(", usergrade=").append(usergrade);
        sb.append(", usersignature=").append(usersignature);
        sb.append(", userdate=").append(userdate);
        sb.append(", userstatus=").append(userstatus);
        sb.append(", useremail=").append(useremail);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}